NET GAME LOST
This command will return a value of one if the net game has been lost, otherwise zero is returned.
Return Integer=NET GAME LOST()
This command will return a value of one if the net game has been lost, otherwise zero is returned
rem Network game can change during session
while mouseclick()<>2
cls
print "HANDLE NET GAME (Right Mouse Button To Continue)"
if net game now hosting()=1 then Hosting=1
if Hosting=1 then PRINT "THIS PLAYER IS NOW HOSTING THE GAME"
if net game lost()=1 then LostGame=1
if LostGame=1 then PRINT "THE GAME SESSION WAS LOST"
returnvalue=net player created()
if returnvalue>0 then PlayerIn=returnvalue
if PlayerIn>0 then PRINT "A NEW PLAYER HAS JOINED THE GAME (";PlayerIn; ")"
returnvalue=net player destroyed()
if returnvalue>0 then PlayerOut=returnvalue
if PlayerOut>0 then PRINT "A PLAYER HAS LEFT THE GAME (";PlayerOut; ")"
endwhile
MULTIPLAYER Commands Menu
Index